package com.cby.operation.login

/**
 * @description: LoginListener
 *
 * @author ChenBaoyang
 * @date 7/22/21 15:55
 */
interface LoginListener {

    /**
     * 登录成功的回调
     */
    fun onLoginSuccess(userInfo: UserInfo)

    /**
     * 登录失败的回调
     *
     * @param code Int
     * @param msg String
     */
    fun onLoginFailed(code: Int, msg: String?)

}